/*
 * Copyright (C) 2012-2013 c-netrunner (http://code.google.com/p/c-netrunner)
 * 
 * This program is free software: you can redistribute it and/or 
 * modify it under the terms of the GNU General Public License as published 
 * by the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *   
 * This source code is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package com.ridgelineapps.netrunner.api;

import java.util.ArrayList;

import com.ridgelineapps.netrunner.core.Game;

public class PlayArea
{
	Game game;
	
	public int runnerClicks;
	public int runnerCredits;
	public int runnerBrainDmg;
	public int runnerTags;

	public int corpClicks;
	public int corpCredits;
	public int corpBadPublicity;
	
	
	public CardList corpScoreArea;
	public CardList corpHq;
	public CardList corpHqRoot;
	public CardList corpHqIce;
	public CardList corpArchives;
	public CardList corpArchivesRoot;
	public CardList corpArchivesIce;
	public CardList corpRandD;
	public CardList corpRandDRoot;
	public CardList corpRandDIce;
	public ArrayList<CardList> corpRemoteServers = new ArrayList<>();
	public ArrayList<CardList> corpRemoteServersIce = new ArrayList<>();
	
	public CardList runnerScoreArea = new CardList();
	public CardList runnerGrip = new CardList();
	public CardList runnerStack = new CardList();
	public CardList runnerHeap = new CardList();
	public CardList runnerRigPrograms = new CardList();
	public CardList runnerRigHardware = new CardList();
	public CardList runnerRigResources = new CardList();
	
	public PlayArea(Game game)
	{
		this.game = game;
	}
	
	public void corpDrawCard() {
	   //TODO...
	}
	
   public void runnerDrawCard() {
      //TODO...
   }
   
   public int calculateMemoryAvail() {
      //TODO...
      return 4;
   }
   
   public int calculateMemoryInUse() {
      //TODO...
      return 0;
   }
}
